<%--
  Created by IntelliJ IDEA.
  User: 13044
  Date: 2020/6/15
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/css/bootstrap.css">
    <script src="/js/jquery-3.1.1.min.js"></script>
    <script src="/js/bootstrap.js"></script>
    <script src="/js/jquery.cookie.js"></script>
    <script src="/js/myAjax.js"></script>
    <script src="/js/backuser.js"></script>
    <script src="/js/page.js"></script>
    <link href="/css/backuser.css" rel="stylesheet">
</head>

<body>
姓名：<input type="text" id="username">
密码：<input type="text" id="password">
性别：<select id="sex">
    <option value="2">全部</option>
    <option value="0">男</option>
    <option value="1">女</option>
</select>
年龄：<input type="number" id="ageStart">-
<input type="number" id="ageEnd">
<input type="button" value="查询" onclick="paging('')">
<table class="table table-hover">
    <thead>
    <tr>
        <td>全选<input type="checkbox" onclick="selectAll()"></td>
        <td>ID</td>
        <td>用户名</td>
        <td>密码</td>
        <td>性别</td>
        <td>年龄</td>
        <td>操作</td>
    </tr>
    </thead>
    <tbody id="userFindAll">


    </tbody>

</table>
<div>
    <input type="button" value="全选" onclick="selectAll()">
    <input type="button" value="全不选" onclick="selectNone()">
    <input type="button" value="反选" onclick="selectAther()">
    <input type="button" value="批量删除" onclick="delAll()">
</div>
<div>
    每一页显示<input type="text" id="pageSize">条
    <%--    pageNum  pageSize--%>
    <%--    select * from user limit  (pageNum-1)*pageSize  ,pageSize--%>
    总页数<span id="pageCount"></span>页
    跳转到<input type="text" id="pageNum">页
    <a href="javascript:paging('go')">【GO】</a>
    <a href="javascript:paging('first')">首页</a>
    <a href="javascript:paging('last')">上一页</a>
    <a href="javascript:paging('next')">下一页</a>
    <a href="javascript:paging('end')">尾页</a>
</div>
</body>
</html>
